//
//  ViewController.m
//  测试
//
//  Created by lichenbiao on 16/7/21.
//  Copyright © 2016年 lichenbiao. All rights reserved.
//

#import "ViewController.h"
#import "DatePOPView.h"
#import "DateModel.h"
@interface ViewController ()<DatePOPViewDelegate>

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    DatePOPView *dateView = [[DatePOPView alloc]initWithFrame:self.view.bounds];
    dateView.delegate = self;
    dateView.monthNum = 13;
    [self.view addSubview:dateView];
//    [self.flightText resignFirstResponder];
}
#pragma mark - 自定义代理事件
-(void)ChooseDateModel:(DateModel *)model model2:(DateModel *)model2{
    NSLog(@"%@   %@",model.day,model2.day);
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
